package com.example.merchantdemo.callback.service;

import com.example.merchantdemo.callback.dto.AcceptCallbackReq;
import com.example.merchantdemo.callback.dto.AcceptCallbackResp;
import com.example.merchantdemo.callback.dto.AcceptSellCoinOrderStatusPushReq;
import com.example.merchantdemo.callback.dto.AcceptSellCoinOrderStatusPushResp;

public interface CallbackService {

    /**
     * 接受支付平台回调
     *
     * @param req
     */
    AcceptCallbackResp acceptCallback(AcceptCallbackReq req);

    /**
     * 接收卖币订单状态推送
     * @param req
     * @return
     */
    AcceptSellCoinOrderStatusPushResp acceptSellCoinOrderStatusPush(AcceptSellCoinOrderStatusPushReq req);
}
